//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.aidong.dao.wills;

import com.aidong.dao.base.OrderSet;
import com.aidong.dao.wills.BaseDao;
import com.aidong.model.wills.DicTranCode;
import java.util.List;
import org.springframework.stereotype.Repository;

@Repository
public class DicTranCodeDao extends BaseDao<DicTranCode, String> {
	public DicTranCodeDao() {
	}

	public List<DicTranCode> getListByType(String type) {
		return this.queryList("type=:p1", new Object[]{type}, (new OrderSet()).asc("tranCode"), -1);
	}

	public List<DicTranCode> getListByCategory(String category) {
		return this.queryList("type=:p1 and category=:p2", new Object[]{"01", category}, (new OrderSet()).asc("tranCode"), -1);
	}
}
